{:W('Nav',array('name'=>'支付列表','act'=>'添加支付方式','URL'=>'addPayment'))}
<script type="text/javascript" src="__PUBLIC__/Js/js/utils.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/listtable.js"></script>
    <div class="list-div" id="listDiv">
        <table width="100%" cellspacing="1" cellpadding="2" id="list-table">
            <tr>
                <th width="8%">编号</th>
                <th width="40%">支付名称</th>
                <th width="15%">启用</th>
                <th width="15%">手续费</th>
                <th width="15%">操作</th>
            </tr>
            <foreach name="payment" item="v">
                <tr align="center" style="height: 50px">
                    <td align="center" width="15%">
                        <span>{$v.id}</span>
                    </td>
                    <td align="left" class="first-cell">
                        <span>{$v.name}</span>
                    </td>
                    <td width="15%"><img src="__PUBLIC__/Images/images/<if condition='$v.is_val eq 1'>yes<else/>no</if>.gif" /></td>
                    <td width="15%"><span>{$v.fee}</span></td>
                    <td width="29%" align="center">
                        <a href="{:U(GROUP_NAME.'/Payment/editPayment',array('id'=>$v['id']))}">编辑</a> |
                        <a href="{:U(GROUP_NAME.'/Payment/deletePayment',array('id'=>$v['id']))}" title="删除">删除</a>
                    </td>
                </tr>
            </foreach>
        </table>
    </div>
</body>
</html>